package com.hr.pojo;
import java.util.Date;
public class  Department {
		private Long id;		//编号
	    private String name;	//部门名称
	    public Department(String name) {
	        this.name = name;
	    }

	    /** default constructor */
	    public Department() {
	    }

	    public Long getId() {
	        return this.id;
	    }

	    public void setId(Long id) {
	        this.id = id;
	    }

	    public String getName() {
	        return this.name;
	    }

	    public void setName(String name) {
	        this.name = name;
	    }


	    public String toString() {
	        StringBuffer toStr = new StringBuffer();
	        toStr.append("[Stipend] = [\n");
	        toStr.append("    id = " + this.id + ";\n");
	        toStr.append("    name = " + this.name + ";\n");
	        toStr.append("    ];\n");
	        return toStr.toString();
	    }
}
